<h1>Listing parties</h1>

<table>
  <tr>
  </tr>

<% for party in @parties %>
  <tr>
    <td><%= link_to 'Show', party %></td>
    <td><%= link_to 'Edit', edit_party_path(party) %></td>
    <td><%= link_to 'Destroy', party, :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New party', new_party_path %>
